package com.its.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.its.pojo.GoodsOrder;

import java.util.List;

/**
* @author lenovo
* @description 针对表【gym_goods_order】的数据库操作Service
* @createDate 2025-05-29 18:05:47
*/
public interface GoodsOrderService extends IService<GoodsOrder> {
    //生成订单
    int creatGoodsOrder(GoodsOrder goodsOrder);

    //根据用户名查询订单
    List<GoodsOrder> selectGoodsOrderByMemberAccount(Integer memberAccount);

    //查询所有订单
    Page<GoodsOrder> selectAllGoodsOrder(Integer page,Integer size);
}
